package com.example.demo.common;

public enum RedisClientType {
    JedisPool(0,"JedisPool"),ShardedJedisPool(1,"ShardedJedisPool"),JedisSentinelPool(2,"JedisSentinelPool");
    private int code;
    private String desc;
    private RedisClientType(int code,String desc){
        this.code = code;
        this.desc = desc;
    }
    public int getCode(){return this.code;}
    public String getDesc(){return this.desc;}
}
